package com.tongji.housediy.events.brandEvent
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/5/06
	 */ 
	public class GetAllBrandEvent extends Event
	{
		public static const GET_ALL_BRANDS:String = "getAllBrands";
		public static const GET_BRANDS_XML:String = "getBrandsXML";
		public static const UPDATE_BRAND_LIST:String = "updateBrandList";
		public static const UPDATE_BRAND_XML:String = "updateBrandXML";
		
		public var brandsArray:ArrayCollection;
		public var brandXML:XML;
		
		public function GetAllBrandEvent(type:String, brandXML:XML = null, brandsArray:ArrayCollection = null)
		{
			super(type);
			this.brandsArray = brandsArray;
			this.brandXML = brandXML;
		}
		
		override public function clone():Event
		{
			return new GetAllBrandEvent(type, brandXML, brandsArray);
		}
	}
}